<template>
  <div>
    <lz-range-picker
      v-model="rangePicker"
      format="YYYY-MM-DD HH:mm"
      :showTime="{
        format: 'HH:mm',
      }"
      :disabled-date="disabledDate"
    ></lz-range-picker>
  </div>
</template>
<script>
import moment from "moment";
export default {
  data() {
    return {
      rangePicker: ["", ""],
    };
  },
  created() {},
  mounted() {},
  methods: {
    disabledDate(current) {
      // Can not select days before today and today
      return current && current < moment().endOf("day");
    },
  },
};
</script>
<style></style>
